import request from "@/utils/request";

export interface AreaParams {
    [key: string]: any;
}

export function get2FAQrcode(data: AreaParams) {
    return request({
        url: "/getQrText",
        method: "get",
    });
}

export function checkCode(data: AreaParams) {
    return request({
        url: "/checkCode",
        method: "get",
        params:data,
    });
}
